package com.qf.purchasing.service;


import com.github.pagehelper.PageInfo;
import com.qf.common.base.result.RespResult;
import com.qf.purchasing.qo.PostQO;
import com.qf.purchasing.vo.PostVO;

public interface PostService {

    // 分页查询
    PageInfo<PostVO> query(int page, int size, String title, String year);

    //根据id查询采购计划
    RespResult<PostVO> selectPostById(int PostId);

    //新增采购计划
    RespResult<String> insert(PostQO PostQO);

    //修改采购计划
    RespResult<String> modify(PostQO PostQO);

    //删除单个采购计划
    RespResult<String> deletePostOne(int id);

    //删除多个采购计划
    RespResult<String> deletePosts(int[] ids);


}
